﻿using EM.OA.DataModel.DBModel;
using EM.OA.WebCommon.Base;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Reflection;
using System.Web;
namespace EM.OA.Portal.Models
{
    public class RemindModels : BaseViewModel
    {
        public string RemindID { get; set; }
        public string ObjectID { get; set; }
        /// <summary>
        /// 即时提醒
        /// </summary>
        public string Instant { get; set; }
        /// <summary>
        /// 单次提醒
        /// </summary>
        public string Single { get; set; }
        /// <summary>
        /// 重复提醒
        /// </summary>
        public string Multi { get; set; }
        /// <summary>
        /// 单次提醒的提醒时间
        /// </summary>
        public DateTime? singleRemindTime { get; set; }
        /// <summary>
        /// 重复提醒的重复类型，日、周、月、年
        /// </summary>
        public string repeatType { get; set; }
        /// <summary>
        /// 重复提醒，按周提醒的周几
        /// </summary>
        public string week1 { get; set; }
        /// <summary>
        /// 重复提醒，按周提醒的周几
        /// </summary>
        public string week2 { get; set; }
        /// <summary>
        /// 重复提醒，按周提醒的周几
        /// </summary>
        public string week3 { get; set; }
        /// <summary>
        /// 重复提醒，按周提醒的周几
        /// </summary>
        public string week4 { get; set; }
        /// <summary>
        /// 重复提醒，按周提醒的周几
        /// </summary>
        public string week5 { get; set; }
        /// <summary>
        /// 重复提醒，按周提醒的周几
        /// </summary>
        public string week6 { get; set; }
        /// <summary>
        /// 重复提醒，按周提醒的周几
        /// </summary>
        public string week7 { get; set; }
        /// <summary>
        /// 重复提醒，每月的几号提醒
        /// </summary>
        public string month { get; set; }
        /// <summary>
        /// 重复提醒，每年提醒的月和日
        /// </summary>
        public string monthDay { get; set; }
        /// <summary>
        /// 重复提醒的提醒时间
        /// </summary>
        public DateTime? multiRemindTime { get; set; }
        /// <summary>
        /// 提醒开始日期，为空表示当前日期
        /// </summary>
        public DateTime? startDate { get; set; }
        /// <summary>
        /// 提醒结束日期，为空表示无结束日期
        /// </summary>
        public DateTime? endDate { get; set; }
        /// <summary>
        /// Mail提醒
        /// </summary>
        public string Mail { get; set; }
        /// <summary>
        /// SMS提醒
        /// </summary>
        public string SMS { get; set; }
        /// <summary>
        /// WebMessage提醒
        /// </summary>
        public string WebMessage { get; set; }
    }
}